package com.hxrfid.project.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hxrfid.common.annotation.ExcelDictFormat;
import com.hxrfid.common.convert.ExcelDictConvert;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;



/**
 * 余额变动记录视图对象 bs_money_record
 *
 * @author hxrfid
 * @date 2025-06-12
 */
@Data
@ExcelIgnoreUnannotated
public class BsMoneyRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型")
    private String title;

    /**
     * 变动数量
     */
    @ExcelProperty(value = "变动数量")
    private String changeNum;

    /**
     * 类型（1余额2积分）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=余额2积分")
    private String changeType;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 支付方式
     */
    @ExcelProperty(value = "支付方式")
    private String payType;

    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号")
    private String orderNo;

    /**
     * 下单时间
     */
    @ExcelProperty(value = "下单时间")
    private Date orderTime;

    /**
     * 订单金额
     */
    @ExcelProperty(value = "订单金额")
    private BigDecimal realPrice;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
